﻿<UserControl x:Class="SL_App.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" Background="#FFF9F3F3" >
	<Grid Margin="10,10,10,10" x:Name="LayoutRoot" Background="{x:Null}">
    		<Grid.ColumnDefinitions>
    			<ColumnDefinition Width="490"/>
    		</Grid.ColumnDefinitions>
    		<Grid.RowDefinitions>
    			<RowDefinition x:Name="Toolbar" Height="75" />
    			<RowDefinition x:Name="Main" Height="300" />
				<RowDefinition x:Name="Footer" Height="75" />
    			<RowDefinition x:Name="StatusBar" Height="25" />
    		</Grid.RowDefinitions>
    		<Canvas  VerticalAlignment="Stretch" Grid.Row="0" Margin="0,-3,0,3">
    			<Canvas.Background>
    				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    					<GradientStop Color="#FFEAD27E"/>
    					<GradientStop Color="#FFF9F9F9" Offset="1"/>
    				</LinearGradientBrush>
    			</Canvas.Background>
    			<Border VerticalAlignment="Stretch" BorderBrush="#FF5B7EE3" BorderThickness="2,2,2,2"/>
    			<TextBox Background="{x:Null}" Height="25" Width="368" Text="dfg dfg" TextWrapping="Wrap" x:Name="txAddress" Canvas.Left="32" Canvas.Top="6" FontSize="10"  IsReadOnly="True" IsEnabled="False" FontFamily="./Fonts/Fonts.zip#Segoe UI"/>
    			<TextBox Height="25" Width="392" Text="" TextWrapping="Wrap" x:Name="txSearch" HorizontalAlignment="Left" Canvas.Top="43" Canvas.Left="8" FontSize="10" FontFamily="./Fonts/Fonts.zip#Segoe UI"/>
    			<Button Height="25"  Width="75" Content="Search" x:Name="btSearch" HorizontalAlignment="Right" VerticalAlignment="Top" Canvas.Left="408" ClickMode="Release" Canvas.Top="43" FontFamily="./Fonts/Fonts.zip#Segoe UI" />
    			<Button Height="25"  Width="75" Content="Test" x:Name="btTest" Canvas.Top="7" Canvas.Left="408" ClickMode="Release" FontFamily="./Fonts/Fonts.zip#Segoe UI"/>
				<CheckBox HorizontalAlignment="Left" Width="19" Content="" RenderTransformOrigin="0.667,0" VerticalAlignment="Top" Height="25" x:Name="chkAddress" ClickMode="Release" Canvas.Left="9" Canvas.Top="9"/>
    		</Canvas>

    			<data:DataGrid VerticalAlignment="Stretch"  Grid.Row="1" Background="#FFC7F4B5" Foreground="#FF182AE0" x:Name="GridData" FontFamily="./Fonts/Fonts.zip#Segoe UI">
    				<data:DataGrid.RowBackground>
    					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    						<GradientStop Color="#FFE3F43C"/>
    						<GradientStop Color="#FFFFFFFF" Offset="1"/>
    					</LinearGradientBrush>
    				</data:DataGrid.RowBackground>
    				<data:DataGrid.AlternatingRowBackground>
    					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    						<GradientStop Color="#FF89E8E7"/>
    						<GradientStop Color="#FFFFFFFF" Offset="1"/>
    					</LinearGradientBrush>
    				</data:DataGrid.AlternatingRowBackground>
    			</data:DataGrid>

    		<ScrollViewer  VerticalAlignment="Stretch" Grid.Row="2" BorderBrush="#FF5B7EE3" BorderThickness="2,2,2,2" Foreground="{x:Null}">
    			<ScrollViewer.Background>
    				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    					<GradientStop Color="#FFF9F9F9"/>
    					<GradientStop Color="#FFE2ED50" Offset="1"/>
    				</LinearGradientBrush>
    			</ScrollViewer.Background>
    			<TextBlock  Margin="1,1,1,1" VerticalAlignment="Stretch" Text="Messages" TextWrapping="Wrap" FontSize="10"  x:Name="txMsg"  Foreground="#FF000000" FontFamily="./Fonts/Fonts.zip#Segoe UI"/>
    		</ScrollViewer>
    		<Canvas  VerticalAlignment="Stretch" Grid.Row="3" Margin="0,0,0,0" HorizontalAlignment="Stretch">
    			<Canvas.Background>
    				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    					<GradientStop Color="#FFBBBAB6"/>
    					<GradientStop Color="#FFF9F9F9" Offset="1"/>
    				</LinearGradientBrush>
    			</Canvas.Background>
    			<TextBox Background="{x:Null}" Height="25" Width="410" Text="" TextWrapping="Wrap" x:Name="txStatus" FontSize="10"  HorizontalAlignment="Left" VerticalAlignment="Top" FontFamily="./Fonts/Fonts.zip#Segoe UI"/>
				<TextBox Background="{x:Null}" Margin="410,0,0,0" Height="25" Width="80" Text="" TextWrapping="Wrap" x:Name="txWhen" FontSize="10"  HorizontalAlignment="Right" VerticalAlignment="Top" TextAlignment="Right" FontFamily="./Fonts/Fonts.zip#Segoe UI"/>    			
    		</Canvas>		
    </Grid>

</UserControl>
